package com.gulimall.order.config;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName ThreadPoolConfigProperties
 * @Author 徐涛
 * @Date 2020/11/11 17:31
 */
@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    public Integer coreSize;

    public Integer maxSize;

    public Integer keepAliveTime;
}
